import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class LoginParamsDto {
  @ApiProperty({
    example: '15231280032',
  })
  phone: string;

  @ApiProperty({
    example: '123456',
  })
  password: string;

  @ApiProperty({
    example: 'captcha:123456789',
  })
  captchaKey: string;

  @ApiProperty({
    example: '5',
  })
  captchaCode: string;
}
